<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <label for="n1">佳丽1：</label>
    <input type="radio" id="n1" value = "https://img.lianzhixiu.com/uploads/allimg/201908/9999/b7c2aad736.jpg" v-model="img1">
    <label for="n2">佳丽2：</label>
    <input type="radio" id="n2" value = "https://img.lianzhixiu.com/uploads/allimg/201908/9999/0c6f09b1a7.jpg" v-model="img1">
    <hr>
    <!-- <img width="400" v-bind:src="img1" alt=""> -->
    <img width="400" :src="img1" alt="">
    <div v-bind:id="b" v-bind:aa="a"></div>
  </div>
  <script src="./vue.js"></script>
  <script>

    const vm = new Vue({
      el: '#app',
      data: {
        img1: '',
        a: '自定义属性的值',
        b: 'box'
      }
    })
  </script>
</body>

</html>